<?php
/**
 * Created by PhpStorm.
 * User: Inhere
 * Date: 2015/2/6
 * Use : ...
 * File: InterfaceSessionOperator.php
 */

namespace ulue\parts\session\operator;


interface InterfaceSessionOperator
{
    public function set($key, $value);

    /**
     * @param $key
     * @param null $default
     * @return null
     */
    public function get($key, $default=null);

    /**
     * 获取多个
     * @param $keys
     * @return array
     */
    public function mget(array $keys);

    public function exists($key);

    public function remove($key);
} 